<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<!DOCTYPE html>
<html>
<head>
<%@ include file="/WEB-INF/views/wx/include/head.jsp" %>
</head>
<body>
	<header class="mui-bar mui-bar-nav">
		<a onclick="history.go(-1);" class="mui-icon mui-icon-left-nav mui-pull-left"></a>
		<h1 class="mui-title">退票</h1>
	</header>
	<div class="mui-content">
		<h5 class="mui-content-padded">退票信息</h5>
		<div class="mui-card">
			<div class="mui-card-content">
				<div class="mui-card-content-inner">
					<p>
						联系人：${orders.contacts }<br/>
						手机号：${orders.payertel }<br/>
					</p>
					<p>
						票数：${orders.purchasenum }张<br/>
					</p>
				</div>
			</div>
		</div>
		<h5 class="mui-content-padded">填写退票数量</h5>
		<form id="inputForm" action="${ctxWx}/pu/realsche/doBackMoney" method="post">
			<input type="hidden" name="orderid" value="${orders.orderid }"/>
			<input type="hidden" name="createDateQueryStart" value="${orders.createDateQueryStart }" />
			<input type="hidden" name="createDateQueryEnd" value="${orders.createDateQueryEnd }" />
			<div class="mui-content-padded">
				<div class="mui-input-row">
					<label class="control-label" for="purchasenum">成人票</label>
					<div class="mui-numbox" data-numbox-min='0' data-numbox-max='${orders.purchasenum }'>
						<button class="mui-btn mui-btn-numbox-minus" type="button">-</button>
						<input id="purchasenum" value="1" name="purchasenum" class="mui-input-numbox" type="number" />
						<button class="mui-btn mui-btn-numbox-plus" type="button">+</button>
					</div>
				</div>
			</div>
		</form>
		<div class="mui-content-padded">
			<button type="button" class="mui-btn mui-btn-primary mui-btn-block" onclick="check();">确认</button>
		</div>
	</div>
	<%@ include file="/WEB-INF/views/wx/include/script.jsp"%>
	<script>
		function check(){
			$('#inputForm').submit();
		}
	</script>
</body>
</html>